home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Sample Code / Snippets / QuickDraw / MyDeviceLoop / ReadMe < prev   
Encoding:
Text File  |  1992-07-15  |  816 b   |  22 lines  |  [TEXT/KAHL]

  1.  
  2.     Application:    MyDeviceLoop
  3.  
  4.     Description:    This snippet shows how to write a device loop that
  5.                     works under System 7 and pre-7.0 systems.  As
  6.                     described on pages 21-23 and 21-24 of Inside Mac
  7.                     volume VI, a device loop procedure searches all
  8.                     active screen devices, calling a drawing procedure
  9.                     whenever it encounters a screen that intersects
  10.                     the drawing region.  In this app the drawing
  11.                     region is the app's window bounds and the chosen
  12.                     drawing procedure simply displays the screen's
  13.                     colors for every device the window bounds intersect.
  14.                                                                                                 */
  15.     Files:            MyDeviceLoop.π
  16.                     MyDeviceLoop.c
  17.  
  18.     Programmer:        Edgar Lee
  19.     Organization:    Apple Computer, Inc.
  20.     Department:        Developer Technical Support, DTS
  21.     Language:        C (Think C version 5.0.1)
  22.     Date Created:    02-21-92